<template>
  <div>
    <j-select v-model="value1" @selectChange="selectChange" :options="options" style="width: 100px;"/>
  </div>
</template>

<script>
import JSelect from './JSelect.vue';
export default {
  components: { JSelect },
  data() {
    return {
      value1: 'a',
      options: [
        {
          label: '选项一',
          value: 'a',
        },
        {
          label: '选项二',
          value: 'b',
        },
        {
          label: '选项三',
          value: 'c',
        },
        {
          label: '选项四',
          value: 'd',
        },
      ],
    }
  },
  methods: {
    selectChange(val) {
      // console.log(val);
    },
  },
}
</script>

<style>

</style>